package com.zxd.feign.client;

import com.hs.common.api.dto.ResultVo;
import com.zxd.feign.dto.Car;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author xudongzhou
 * @date 2022 -07 -26
 * @description
 */
@FeignClient(value="car-service")
public interface CarFeignClients {

    //添加车辆绑定
    @PostMapping("/car/add")
    ResultVo addCar(@RequestBody Car car);

}
